From: Carol (Nichols || Goulding) Date: Fri, 13 May 2016 16:25:37 +0000 (-0400) Subject: Correct `Fresh` to `Compiling` since we aren't running with -v X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~14^2~7^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=2c1147f7841a0f2fdb0e3d12b62f11ce07a5673f;p=cargo.git Correct `Fresh` to `Compiling` since we aren't running with -v I only see `Fresh` if I use `cargo run -v`, but this example uses `cargo run`. Someone following along might not see either of these if they just built in the previous step, though, so clarify that you'll only see that if you have made changes. --- diff --git a/src/doc/guide.md b/src/doc/guide.md index 3b97fc108..4aba5ad6b 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -83,11 +83,13 @@ $ ./target/debug/hello_world Hello, world! ``` -We can also use `cargo run` to compile and then run it, all in one step: +We can also use `cargo run` to compile and then run it, all in one step (You +won't see the `Compiling` line if you have not made any changes since you last +compiled):
$ cargo run
      Fresh hello_world v0.1.0 (file:///path/to/project/hello_world)
+class="s1">   Compiling hello_world v0.1.0 (file:///path/to/project/hello_world)
    Running `target/debug/hello_world`
 Hello, world!